// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import loading from '@/components/Loading'
import timer from '@/components/renders/Timer'
import information from '@/components/renders/Information'
import distancejud from '@/helper/distancejud'
import page from '@/components/renders/Page'

Vue.config.productionTip = false
Vue.use(distancejud)
Vue.component('my-loading', loading)
Vue.component('my-timer', timer)
Vue.component('my-information', information)
Vue.component('my-page', page)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})

Vue.config.silent = true
